package com.hundsun.cprs.yyt.service.common.dto;

/**
 * 资金请求通用返回,用于请求成功，返回附加信息
 * @author linrl
 * @date 2018年3月28日
 */
public class FundCommResponse {

    private boolean success;
    
    private int code;
    
    private String desc;
    
    private String attachment;
    
    private String attachmentDetail;
    
    public FundCommResponse(){
        this.success = true;
    }
    
    public FundCommResponse(int code,String desc){
        this.success = true;
        this.code = code;
        this.desc = desc;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getAttachmentDetail() {
        return attachmentDetail;
    }

    public void setAttachmentDetail(String attachmentDetail) {
        this.attachmentDetail = attachmentDetail;
    }
}
